<!DOCTYPE html>
<html lang="zh-CN" ng-app="share">

	<head>
		<meta charset='utf-8' />
		<script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>
		<bootstrap></bootstrap>
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<script src="/static/js/my.js"></script>
		<script type="text/javascript">
			app.controller('list',['$scope','app2fac',function ($scope,app2fac) {
			$scope.name='heyulin';
			$scope.sayname=function () {
				app2fac.say($scope.name);
			};
			$scope.items=[
				 {
					 name:"dog",
					 href:"http://www.baidu.com"
				 },
				{
					name:"pig",
					href:"http://www.qq.com"
				},
				{
					name:"pigjsg",
					href:"http://www.qq.com"
				}
			]
			}]);
		</script>
		
		</head>
	<body>
	<div ng-controller='list'>
		<button ng-click='sayname()'>pushme</button>
		<div left-nav items='items'></div>
		<div>[[name]]</div>
	</div>
	
	<div>
		<input type="text" name="test" value="" />
		<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
	</div>
	</body>
</html>